import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class test {
    static Logger LOG = LoggerFactory.getLogger(test.class);

    public static void main(String[] args) {
        String str = "  苏保监罚〔2018〕54号";
        str = str.replace(" ", "");
        if (str.contains(" "))
            System.out.println(str);
    }
}
